class film {
 int year,leng,popularity;
 String title,subject,img;
 boolean awards;
 director dir;
 actor ac,acs;
 int id;
 Ball ball;
 int ballid;
 void setBall(Ball b, int i){
   ballid=i;
   ball=b;
 }
 film(int id, int year,int leng, String title, String subject,actor ac,actor acs, 
 director dir, int popularity, boolean awards, String img){    
    this.year=year;
    this.leng=leng;
    this.popularity=popularity;
    this.title=title;
    this.subject=subject;
    this.img=img;
    this.awards=awards;
    this.dir=dir;
    this.ac=ac;
    this.acs=acs;
    this.id=id;
  }
  String toString(){
     return id+" "+year+" "+leng+" "+title+" "+subject+" "+ac.name+" "+acs.name
    +" "+dir.name+" "+awards+" "+popularity+" "+img ;
  }
}
